.black-nav{
    width: 100%;/*宽度设置为父容器的百分百，使该元素在水平方向上撑满父容器*/
    height: 40px;/*把元素高度设置为40像素*/
    line-height: 40px;/*行高设置为40像素，使得垂直上下居中*/
    background-color: #000;/*元素背景颜色设置为黑色*/
}

.wrap{
    /*border:1px solid red;*/
    width: 1226px;
    margin: 0 auto;
}

.nav-left{
    /*border:1px solid red;*/
    float: left;
}

.nav-left li{
    float: left;
    position: relative;
}

.black-nav span{
    color: #424242;
    margin: 0 4px;
}

.black-nav a{
    color: #b0b0b0;
    font-size: 13px;
}

.nav-left a:hover{
    color: #ffffff;
}

.nav-right{
    /*border:1px solid red;*/
    float: right;
}

.nav-right li{
    float: left;
    position: relative;
}

.nav-right li:not(:last-child):hover>a{
    color: #ffffff;
}

.cart:hover{
    background-color: white;
}
.cart:hover>a{
    color: #ff6a00;
}

.nav-right li:nth-child(3){
    margin-right: 20px;
}

.cart{
    width: 120px;
    height: 40px;
    background-color: #424242;
    text-align: center;
}

/*滑动门样式*/
.appcode{
    /*border: 1px solid red;*/
    position: absolute;
    top: 40px;
    left: 50%;
    width: 124px;
    height: 0;
    margin-left: -68px;
    text-align: center;
    box-shadow: 0 1px 5px #aaa;/*图层阴影*/
    overflow: hidden;
    transition: height 0.3s;
}

.appcode img{
    width: 90px;
    margin: 18px auto 0;
}

.appcode p{
    font-size: 14px;
    line-height: 16px;
    color: #424242;
}

.nav-left li:hover>.appcode{
    height: 148px;
}

/*下载app里面的小三角样式*/
.stri{
    width: 0;
    height: 0;
    border-bottom: 8px solid #ffffff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -15px;
    display: none;
}

.nav-left li:hover>.stri{
    display: block;
}

.cart-list{
    /*border: 1px solid red;*/
    width: 310px;
    height: 0;
    position: absolute;
    right: 0;
    top: 40px;
    line-height: 100px;
    text-align: center;
    box-shadow: 0 1px 5px #aaa;
    background-color: white;
    overflow: hidden;
    transition: height 0.3s;
}

.nav-right li:hover>.cart-list{
    height: 100px;
}